package com.yunlongcoding.cahuomarketing.common;

import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 *
 * access_token信息
 *
 * @author 王云龙
 * @version 1.0
 * @date 7/25/2018  10:31 AM
 */
public class AccessToken implements Serializable {

    private static final long serialVersionUID = 2403704881282255417L;

    // 获取到的access_token
    private String access_token ;
    // 该access token的有效期，单位为秒（两个小时，7200s）
    private int expires_in ;


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getAccess_token() {
        return access_token;
    }

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }

    public int getExpires_in() {
        return expires_in;
    }

    public void setExpires_in(int expires_in) {
        this.expires_in = expires_in;
    }


    @Override
    public String toString() {
        return "AccessToken{" +
                "access_token='" + access_token + '\'' +
                ", expires_in=" + expires_in +
                '}';
    }
}
